.address-page {
	min-height: 100vh;
	background-color: $mall-bg-100;
	padding: 20rpx;
	box-sizing: border-box;
	
	.address-list {
		.address-item {
			background-color: #fff;
			border-radius: $uni-border-radius-lg;
			padding: 30rpx;
			margin-bottom: 20rpx;
			display: flex;
			justify-content: space-between;
			box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.04);
			
			&:active {
				background-color: $mall-bg-100;
			}
			
			.address-info {
				flex: 1;
				margin-right: 20rpx;
				
				.user-info {
					margin-bottom: 16rpx;
					display: flex;
					align-items: center;
					flex-wrap: wrap;
					
					.name {
						font-size: 32rpx;
						color: $mall-text-100;
						font-weight: bold;
						margin-right: 20rpx;
					}
					
					.phone {
						font-size: 28rpx;
						color: $mall-text-200;
						margin-right: 20rpx;
					}
					
					.tag {
						font-size: 20rpx;
						padding: 4rpx 12rpx;
						border-radius: 20rpx;
						
						&.default {
							background-color: rgba($mall-primary-100, 0.1);
							color: $mall-primary-100;
						}
					}
				}
				
				.address-detail {
					font-size: 28rpx;
					color: $mall-text-100;
					line-height: 1.4;
					
					text {
						word-break: break-all;
						display: -webkit-box;
						-webkit-box-orient: vertical;
						-webkit-line-clamp: 2;
						overflow: hidden;
					}
				}
			}
			
			.action-btns {
				display: flex;
				align-items: center;
				gap: 20rpx;
				margin-left: 20rpx;
				
				.edit-btn, .delete-btn {
					padding: 10rpx;
					border-radius: $uni-border-radius-base;
					
					&:active {
						background-color: $mall-bg-100;
					}
				}
				
				.delete-btn {
					&:active {
						background-color: rgba(#ff5555, 0.1);
					}
				}
			}
		}
	}
	
	.empty-state {
		padding: 40rpx;
		
		.empty-btn {
			margin-top: 40rpx;
			width: 240rpx;
			height: 80rpx;
			border-radius: $uni-border-radius-base;
			background: linear-gradient(135deg, $mall-primary-100, $mall-primary-200);
			color: #fff;
			font-size: 28rpx;
			display: flex;
			align-items: center;
			justify-content: center;
			
			&:active {
				transform: scale(0.98);
				opacity: 0.9;
			}
		}
	}
	
	.action-bar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		background-color: #fff;
		padding: 12rpx 20rpx;
		box-shadow: 0 -2rpx 20rpx rgba(0, 0, 0, 0.05);
		z-index: 100;
		
		&::after {
			content: '';
			position: fixed;
			bottom: 0;
			left: 0;
			right: 0;
			height: env(safe-area-inset-bottom);
			background-color: #fff;
		}
		
		.submit-btn, .add-btn {
			width: 100%;
			height: 80rpx;
			border-radius: $uni-border-radius-base;
			background: linear-gradient(135deg, $mall-primary-100, $mall-primary-200);
			color: #fff;
			font-size: 28rpx;
			font-weight: bold;
			display: flex;
			align-items: center;
			justify-content: center;
			box-shadow: 0 4rpx 12rpx rgba($mall-primary-100, 0.3);
			margin: 0;
			
			.uv-icon {
				margin-right: 8rpx;
			}
			
			&:active {
				transform: scale(0.98);
			}
			
			&[disabled] {
				opacity: 0.5;
				background: $mall-bg-300;
				box-shadow: none;
			}
		}
	}
}

.tag.default {
	background-color: rgba($mall-primary-100, 0.1);
	color: $mall-primary-100;
	font-size: 20rpx;
	padding: 4rpx 12rpx;
	border-radius: 20rpx;
	margin-left: 12rpx;
}

.load-more {
	padding: 30rpx 0;
	
	.load-more-content {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 12rpx;
		
		.text {
			font-size: 24rpx;
			color: $mall-text-200;
		}
	}
}
